package com.itheima.health.dao;

import com.itheima.health.pojo.Permission;

import java.util.Set;

/**
 * @author zhengjd
 * @date 2020/4/10 23:46
 */
public interface PermissionDao {

    /**
     * 根据角色id查询权限
     * @param roleId
     * @return
     */
    Set<Permission> findPermissionsByRoleId(Integer roleId);
}
